<script lang="ts" setup name="Child">
    import GrandChild from './GrandChild.vue';
</script>

<template>
    <div class="child">
        <h2>子组件</h2>
        <GrandChild/>
    </div>
</template>

<style scoped>
    .child {
        background-color: skyblue;
        border-radius: 10px;
        padding: 5px 10px;
    }
</style>